package xuanzhen.pro.service.impl;

import java.io.FileInputStream;
import java.util.Properties;

public class EusUtil {

  /*  public static String getFullPath(String path) {
    	Properties SysProp = new Properties();//属性集合对象      
		FileInputStream fi = new FileInputStream("SysProp.properties");//属性文件流      
		SysProp.load(fi);//将属性文件流装载到Properties对象中    
            //get install path
            String sInstallPath=CommonUtil.null2String(SysProp.getProperty("path.install"));
            String sWebAppPath =CommonUtil.null2String(SysProp.getProperty("path.web.app"));
            if (path.trim().substring(0,2).equals("..")) {
                return replaceNameSeparator(sInstallPath+path.trim().substring(2));
            }
            else if (path.trim().charAt(0)=='.') {
                if (sWebAppPath.trim().substring(0,2).equals(".."))
                    return replaceNameSeparator(sInstallPath+sWebAppPath.trim().substring(2)+path.trim().substring(1));
                else
                    return replaceNameSeparator(sWebAppPath+path.trim().substring(1));
            } else {
                return replaceNameSeparator(path.trim());
            }
        }*/


}
